package com.yxy.common;
/**
 * 常量
 *
 * @author DengWenJun
 * @cerateTime 2017-08-04-8:45
 **/
public class Const {
    public static final String CURRENT_USER = "currentUser";
    public static final String ADMIN_USER = "admin";
    public static final  String EMAIL = "email";
    public static final String USERNAME = "username";
    public static final String PHONE = "phone";

    public static final String IMG_BANNER ="img/banner";
    public static final String IMG_USERFACE ="img/userface";
    public static final String IMG_SPORT_DYNAMIC ="img/sportDynamic";

    public static final Integer UPLOAD_FIED = 101;//文件上传失败


    public static final Integer USER_IS_NO_EXIT = 201;//用户不存在
    public static final Integer ALREADY_ADD_CONTACT_PERSON = 202;//用户不存在



    public static final Integer USERS_IS_FULL = -101;//人数已满
    public static final Integer ALREADY_JOIN_SPORT= -102;//已参加活动



    public static final Integer SUCCESS= 0;//成功

    public static final Integer SPORT_STATUS_CANCEL= 1;//取消状态










//    public static final Integer USER_STATUS_NO_ACTIVATION = 1;//账号未激活
//    public static final Integer USER_STATUS_FROZEN = 2;//账号被激活

    public interface Role{
        int ROLE_CUSTOMER = 0;//普通用户
        int ROLE_ADMIN = 1;//管理员
        int ROLE_SUPPER_ADMIN=2;//超级管理员
    }
    public interface RoleText{
        String ROLE_CUSTOMER_TEXT = "普通用户";//普通用户
        String ROLE_ADMIN_TEXT = "管理员";//管理员
        String ROLE_SUPPER_ADMIN_TEXT="超级管理员";//超级管理员
    }
    public interface Sex{
        int SEX_MALE = 0;   //男
        int SEX_FAMALE= 1;  //女
    }
    public interface SexText{
        String SEX_MALE_Text = "男";
        String SEX_FAMALE_Text= "女";
    }
    public interface Status{
        int STATUS_FROZEN= 1;//冻结
        int STATUS_ACTIVATION = 0;//正常
    }
    public interface StatusText{
        String SSTATUS_FROZEN_Text = "冻结";
        String STATUS_ACTIVATION_Text = "正常";
    }

    public interface SportFlag{
        int SPORT_FLAG_END = 0;//活动已结束
        int SPORT_FLAG_PERSON_FULL = 1;//人数已满
        int SPORT_FLAG_I_WANT_JOIN = 2;//我要参加
        int SPORT_FLAG_CABCEL_JOIN = 3;//取消参加活动
        int SPORT_FLAG_CABCEL_SPORT = 4;//取消活动

    }

}
